package com.manage.platform.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.manage.platform.dto.query.ProfessionalTitlePageQuery;
import com.manage.platform.entity.ProfessionalTitleEntity;
import com.manage.platform.vo.CommonVo;
import com.manage.platform.vo.ProfessionalTitleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * YWD
 * 2025/9/19
 */
@Mapper
public interface ProfessionalTitleMapper extends BaseMapper<ProfessionalTitleEntity> {

    List<ProfessionalTitleVo> getProfessionalTitlePage(@Param("query") ProfessionalTitlePageQuery query);

    ProfessionalTitleVo getProfessionalTitleDetails(@Param("id") Long id);

    List<CommonVo> getProfessionalList(@Param("name") String name);

}
